html, body {
    height: 100%;
}
.wrapper{
    position: relative;
    background: #f7f8f9;
}
ul,li{
    list-style: none;
    margin: 0;
    padding: 0;
}


/* header */
.main-header .navbar{
    min-height: 50px;
    border-radius: 0;
    border: none;
}
.main-header .navbar-header{
    background: #0282c7;
}
.main-header .navbar-brand{
    height: 50px;
    line-height: 30px;
    text-align: center;
    font-size: 20px;
    padding: 10px 0;
}
.main-header .navbar-brand .logo{
    width: 230px;
    display: inline-block;
}
.main-header .navbar-brand .logo-mini{
    width: 50px;
    display: none;
}
.sidebar-collapse .navbar-brand .logo{
    display: none;
}
.sidebar-collapse .navbar-brand .logo-mini{
    display: block;
}
.main-header .navbar-nav>li>a{
    height: 50px;
    line-height: 30px;
}
.main-header .navbar-right{
    margin-right: 0;
}
.navbar-toggle{
    position: absolute;
    margin: 0;
    padding: 0;
    top: 15px;
    right: 15px;
    color: #fff;
    border: 0;
}


/* message panel */
.panel-message{
    padding: 0;
    min-width: 300px;
}

/* sidebar */
.main-sidebar {
    position: absolute;
    top: 0;
    left: 0;
    padding-top: 50px;
    min-height: 100%;
    width: 230px;
    z-index: 810;
    background-color: #222d32;
    transition: transform .3s ease-in-out,width .3s ease-in-out;
}

.main-sidebar .sidebar{
    padding-bottom: 10px;
}
.user-panel {
    position: relative;
    width: 100%;
    padding: 10px;
    overflow: hidden;
}
.user-panel>.image>img {
    width: 100%;
    max-width: 45px;
    height: auto;
}
.user-panel>.info {
    padding: 5px 5px 5px 15px;
    line-height: 1;
    position: absolute;
    left: 55px;
}
.user-panel>.info>p {
    font-weight: 600;
    margin-bottom: 9px;
    color: #fff;
}
.user-panel>.info>a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
}
.sidebar-form {
    border-radius: 3px;
    border: 1px solid #374850;
    margin: 10px;
    color: #666;
}
.sidebar-form input[type="text"], 
.sidebar-form .btn {
    text-shadow: none;
    box-shadow: none;
    background-color: #374850;
    border: 1px solid transparent;
}
.sidebar-form input[type="text"]:focus,
.sidebar-form input[type="text"]:focus+.input-group-btn .btn {
    background-color: #fff;
    color: #666;
}
.sidebar-form .btn {
    color: #999;
}

.sidebar-menu>li{
    position: relative;
}
.sidebar-menu li.header {
    padding: 10px 25px 10px 15px;
    font-size: 12px;
    color: #4b646f;
    background: #1a2226;
}
.sidebar-menu a{
    text-decoration: none;
    color: #b8c7ce;
}
.sidebar-menu a>.icon{
    width: 20px;
    display: inline-block;
}
.sidebar-menu>li>a {
    border-left: 3px solid transparent;
    padding: 12px 5px 12px 15px;
    display: block;
    position: relative;
}
.sidebar-menu>li:hover>a,
.sidebar-menu>li:focus>a,
.sidebar-menu>li.active>a, 
.sidebar-menu>li.menu-open>a {
    color: #fff;
    background: #1e282c;
}
.sidebar-menu>li.active>a {
    border-left-color: #0288d1;
}

.sidebar-menu li>a>.pull-right-container {
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -9px;
}
.sidebar-menu li>a>.pull-right-container>.icon-angle-left {
    width: auto;
    height: auto;
    padding: 0;
    margin-right: 10px;
    transition: transform .5s ease;
}
.sidebar-menu .menu-open>a>.pull-right-container>.icon-angle-left::before {
    transform: rotate(-90deg);
}

.sidebar-menu>li>.treeview-menu {
    display: none;
    background: #2c3b41;
}
.sidebar-menu>li.active>.treeview-menu{
    display: block;
}
.treeview-menu{
    padding-left: 3px;
}
.treeview-menu>li>a {
    padding: 5px 5px 5px 15px;
    display: block;
}
.treeview-menu>li>a:hover,
.treeview-menu>li>a:focus,
.treeview-menu>li.active>a {
    color: #fff;
}

/* sidebar collapse */
.sidebar-collapse .main-sidebar {
    transform: translate(0, 0);
    width: 50px !important;
    z-index: 850;
}
.sidebar-collapse .main-sidebar .user-panel>.info, 
.sidebar-collapse .sidebar-form, 
.sidebar-collapse .sidebar-menu>li>a>span, 
.sidebar-collapse .sidebar-menu>li>.treeview-menu, 
.sidebar-collapse .sidebar-menu li.header {
    display: none !important;
}
.sidebar-collapse .sidebar-menu>li:hover>a>span {
    top: 0;
    margin-left: -3px;
    padding: 12px 5px 12px 20px;
    background-color: inherit;
}
.sidebar-collapse .sidebar-menu>li:hover>a>span:not(.pull-right-container), 
.sidebar-collapse .sidebar-menu>li:hover>.treeview-menu {
    display: block !important;
    position: absolute;
    width: 180px;
    left: 50px;
}

/* content wrapper */
.content-wrapper {
    min-height: 100%;
    padding-top: 50px;
    margin-left: 230px;
    z-index: 800;
}
.sidebar-collapse .content-wrapper{
    margin-left: 50px;
}
.content-header .breadcrumb{
    margin-bottom: 0;
}

/* info box */
.info-box {
    display: block;
    min-height: 90px;
    background: #fff;
    width: 100%;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    border-radius: 4px;
    margin-bottom: 15px;
}
.info-box-icon {
    border-top-left-radius: 4px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 4px;
    display: block;
    float: left;
    height: 90px;
    width: 90px;
    text-align: center;
    font-size: 45px;
    line-height: 90px;
}
.info-box-icon .icon{
    text-align: center;
    font-size: 45px;
}
.info-box-content {
    padding: 5px 10px;
    margin-left: 90px;
}
.info-box-text {
    display: block;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.info-box-number {
    display: block;
    font-weight: bold;
    font-size: 18px;
}

/* table info */
.table-info{
    margin-bottom: 0;
}
.table-info td:nth-child(2n-1){
    font-weight: 600;
}

/* login  */
.panel-login{
    width: 360px;
    margin: 10% auto;
}
.login-logo{
    font-size: 20px;
    text-align: center;
}
.login-logo a{
    text-decoration: none;
}
.login-form{
    padding:10px;
}


@media (min-width: 767px){
    .sidebar-toggle{
        display: none;
    }
}
/* 手机端 */
@media (max-width: 767px){
    .navbar-nav:not(.navbar-right)>li:first-child{
        display: none;
    }
    .main-sidebar {
        transform: translate(-230px, 0);
    }
    .sidebar-open .main-sidebar {
        transform: translate(0, 0);
    }
    .content-wrapper{
        margin-left: 0;
    }
    .navbar-brand{
        width: 100%;
    }
    .sidebar-toggle{
        color: #fff;
        position: absolute !important;
        top: 15px;
        left: 15px;
    }
    .main-header .navbar-right {
        margin-right: -10px; 
    }
}